DRAKHYSYS ALL EDITORS V4.8.8.52 — IWD2 AREA RENAME CONVERTER

Purpose
-------
Convert Icewind Dale II area resources into a separate BG2-safe namespace before
copying anything to Baldur's Gate II override.

Default mapping:
    AR1000 -> IW1000
    AR1001 -> IW1001
    ...
The mapping keeps the same ResRef length so compiled resource references can be
patched without resizing binary records.

New tool
--------
START_IWD2_RENAME_CONVERTER.bat

The tool:
1. Reads the ORIGINAL IWD2 CHITIN.KEY as a source index.
2. Lets you select one or many IWD2 areas.
3. Extracts the selected area's ARE/WED/TIS/MOS/BMP/BCS family from the IWD2
   BIF files (or uses matching loose files when present).
4. Renames the area family to IWxxxx.
5. Rewrites ARxxxx references to IWxxxx inside structured converted resources.
6. Creates/updates DRAKIWD2 in converted IW1000 at 2390,861.
7. Optionally scans IWD2 scripts/resources for references to converted areas and
   writes patched copies to a separate review folder.
8. Produces IWD2_AREA_MAPPING.json and IWD2_CONVERSION_REPORT.txt.
9. Never modifies the original IWD2 files.

Output
------
IWD2_CONVERTED_FOR_BG2/
    override_ready/
        IW1000.ARE
        IW1000.WED
        IW1000.TIS
        IW1000.MOS
        IW1000HT.BMP
        IW1000LM.BMP
        IW1000SR.BMP
        IW1000.BCS
        ...
    patched_references/
        Other IWD2 scripts/resources containing remapped area references.
    IWD2_AREA_MAPPING.json
    IWD2_CONVERSION_REPORT.txt

Safety
------
Unselected IWD2 area families are never exported under their original ARxxxx
names. The report explicitly lists links from converted files to IWD2 areas that
have not yet been converted. Convert those areas too before copying a complete
connected campaign to BG2.

CHITIN.KEY editor
-----------------
The CHITIN.KEY editor now has an IWD2 AREA CONVERTER button/menu entry.

IWD2 campaign preset
--------------------
ADD IWD 2 CAMPAIGN now defaults to:
    Campaign ID: IWD2
    Start area: IW1000
    Destination entrance: DRAKIWD2
    X: 2390
    Y: 861

Compatibility note
------------------
This converter handles resource namespace duplication and equal-length area
reference remapping. It does not promise automatic translation of every
IWD2-only engine structure, rule, opcode, creature format, or script semantic
into BG2EE. Those incompatibilities can be handled separately after the area
resource namespace is collision-free.
